// authService.js
import axios from 'axios';

const API_URL = '/api/v1/users';

export default {
    login(email, password) {
        return axios.post(`${API_URL}/login`, { email, password });
    },
    register(email, username, password) {
        return axios.post(`${API_URL}/register`, { email, username, password });
    },
};
